package cn.demoncat.util.exception;

/**
 * 描述： 远程连接异常
 *
 * 场景：连接Redis、Zookeeper等远程服务
 * 
 * @author 延晓磊
 *
 * @since 2017年3月26日
 */
public final class ConnRuntimeException extends ErrorRuntimeException{
 
	/**
	 * 常用异常：连接失败
	 */
	public static final ConnRuntimeException COMMON = new ConnRuntimeException("远程连接失败");

	public ConnRuntimeException() {
		super();
	}

	public ConnRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public ConnRuntimeException(String message, Throwable cause) {
		super(message, cause);
	}

	public ConnRuntimeException(String message) {
		super(message);
	}

	public ConnRuntimeException(Throwable cause) {
		super(cause);
	}

	public ConnRuntimeException(String message, String code, Throwable cause) {
		super(message, code, cause);
	}

	public ConnRuntimeException(String message, String code) {
		super(message, code);
	}
}
